]> dgit.raspbian.org Git - gnome-shell.git/commit
Add goblint configuration
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 28 Apr 2026 10:25:15 +0000 (12:25 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 4 May 2026 12:45:41 +0000 (12:45 +0000)
commit43034790e0529de8f032edb1e228c4d5ee64bda6
treef92221bcf710450b7771173eefb81cea271df47f
parentb154abd6608ecd64916fdfeea70eb72e1f9686df
Add goblint configuration

When discussing goblint on Matrix, there were some concerns
around its rules for defining properties:

 - having to explicitly track the last property ID, instead
   of including N_PROPS in the anonymous enum

 - including read-only properties in set() and write-only in get()
   adds unreachable code, which is bad for code coverage

Those were considered more important than the benefit of checking
get()/set() with `-Wswitch-enum`, so at least for now stick with
the existing property conventions.

Add a configuration that enables "legacy" style for the corresponding
rules.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4198>
goblint.toml [new file with mode: 0644]